home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
ForCLI
/
for16.readme
< prev
next >
Wrap
Text File
|
1996-09-26
|
1KB
|
37 lines
Short: Use wildcards for nearly every program
Type: util/cli
Uploader: fillg1@uni-paderborn.de
'for' is intendend to give wildcards to programs like MuchMore which do not
support wildcards by themself. Its command template is
for FILE,CMD,EXEC/S,ALL/S
FILE is a filename expression, usually with wildcards. default #?
CMD is a command string like "MuchMore %s" (notice the quotes !). It
supports some printf-like expressions.
%f the complete filename including the path
%s the complete filename without path
%p the path of the argument file, without a trailing / or : !!!
%b the basename of the file, this is the filename upto the first '.'.
the default is "%f"
EXEC the execute flag, if not given, for will only display the commands,
but not execute them.
ALL the all flag, directories will be entered (MatchFirst/MatchNext feature!)
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
724 576 20.4% 10-Oct-92 22:08:34 For
4923 1888 61.6% 07-Oct-92 08:57:20 For.c
3943 1727 56.2% 10-Oct-92 22:34:06 For.doc
1408 743 47.2% 10-Oct-92 22:35:02 ForAll
2745 1188 56.7% 10-Oct-92 22:34:06 ForAll.c
643 317 50.6% 10-Oct-92 22:11:44 Makefile
201 95 52.7% 10-Oct-92 21:39:04 struct.c
-------- ------- ----- --------- --------
14587 6534 55.2% 04-Jun-93 14:44:28 7 files